import React from 'react'
import {createRoot} from 'react-dom/client'
import { BrowserRouter   } from 'react-router-dom';
import App from './App'
import { Provider } from 'react-redux';
import './index.less'
import store from '@/store'
const root = createRoot(document.getElementById('root')!  as HTMLElement)
root.render(
  <React.StrictMode>
    <Provider store={store}>
      <BrowserRouter>
        <App />
      </BrowserRouter>
    </Provider>
  </React.StrictMode>
)
